/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Engine;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/**
 *
 * @author Allan
 */
@ManagedBean(name = "devilhand")
@SessionScoped
public class DevilHand extends Item {

    public DevilHand() {
        this.setValor(200);
        this.setImagemDisponivel("imagens/DevilHand.png");
        this.setImagemIndisponivel("imagens/DevilHandN.png");
    }

    public boolean calcular(int gold, int click) {
        if (gold >= this.getValor() && click == 10) {
            return true;
        } else {
            return false;
        }
    }
    
    public int comprado(){
        return 15;
    }
    
    
}
